<template>
  <div style="display: flex; flex-direction: column; margin: 10px">
    <div class="title">应用下载量统计</div>
    <div class="list">
      <el-table
        :data="uploadList"
        style="width: 100%"
        :header-cell-style="{
          background: '#F4F7FF',
          color: '#7F84A5',
          textAlign: 'center',
        }"
      >
        <el-table-column prop="in_bsvs" label="版本周期" align="center">
        </el-table-column>
        <el-table-column prop="in_downloads" label="下载量" align="center">
        </el-table-column>

        <el-table-column prop="in_addtime" label="日期" align="center">
          <template slot-scope="scope">
            <p>
              {{ scope.row.in_addtime === null ? "---" : scope.row.in_addtime }}
            </p>
          </template>
        </el-table-column>
      </el-table>
    </div>
  </div>
</template>
  
  <script>
export default {
  props: ["uploadList"],
};
</script>
  
  <style scoped>
.title {
  font-size: 18px;
  color: #3383c5;
  padding-bottom: 30px;
}
</style>